refactor(compute): decouple gateway driver composition - #2823
Merged
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-2823.docs.buildwithfern.com/openshell |
This was referenced Aug 20, 2026
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 05:10
6d719f2 to
96f603d
Compare
Collaborator
Author
|
/ok to test |
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 14:28
96f603d to
bb88ad5
Compare
Collaborator
Author
|
/ok to test |
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 14:32
bb88ad5 to
d3ae889
Compare
Collaborator
Author
|
/ok to test |
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 14:59
d3ae889 to
69ddee1
Compare
Collaborator
Author
|
/ok to test |
elezar
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 15:35
69ddee1 to
00eff3d
Compare
Member
elezar
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 15:44
00eff3d to
a8047fd
Compare
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 16:10
a8047fd to
4348c48
Compare
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 19:18
4348c48 to
d910ae3
Compare
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 20:50
d910ae3 to
31a9534
Compare
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 20, 2026 21:56
31a9534 to
507d4c3
Compare
12 tasks
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
August 31, 2026 19:11
d9f9e27 to
1cf8a8b
Compare
|
Label |
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
September 1, 2026 05:47
aa013d6 to
6ad2cb0
Compare
8 tasks
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
4 times, most recently
from
September 1, 2026 17:32
09ce788 to
59d91c8
Compare
pimlock
reviewed
Sep 1, 2026
7 tasks
pimlock
previously approved these changes
Sep 1, 2026
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
September 1, 2026 20:06
59d91c8 to
c587207
Compare
Move first-party composition and VM process ownership into openshell-gateway, leaving openshell-server backend-independent. Update packaging and build references with the new crate, simplify the compiled-driver boundary, and keep the driver-free gateway path buildable with bundled Z3 tooling. Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <385+drew@users.noreply.github.com>
Signed-off-by: Drew Newberry <385+drew@users.noreply.github.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
drew
force-pushed
the
refactor/2417-server-driver-decoupling/drew
branch
from
September 1, 2026 20:24
c587207 to
ee76daf
Compare
pimlock
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move first-party compute-driver composition and VM process ownership into
openshell-gateway, leavingopenshell-serverindependent of compute backend implementations. The standard gateway installs drivers through a generic registry, can build without linked compute backends, and preserves the public compute-driver RPC path for external drivers.Related Issue
Part of #2417.
Changes
openshell-gatewayas the binary and first-party compute-driver composition cratein-tree-compute-driversfeatureuser_namespacesas a typed compute-driver field, translate it to KuberneteshostUsers, and accept the legacyplatform_config.host_usersencoding during rolling upgradesSandboxPolicyinDriverSandboxSpec.policy, so validation and creation use one complete sandbox messagedriver_reports_runtime_readinesscapability solely for readiness composition instead of coupling readiness and policy behavior in a runtime-control enumGetSandboxConfigandReportPolicyStatusextension contract rather than adding a compute-driver reconcile RPC or recreate capabilityInProcessvariant, with driver-reported readiness and create-time policy enforcement; remove the MXC-only policy side channel andInProcessWithSandboxPolicyopenshell-serverbinary build referencesTesting
mise run pre-commitOPENSHELL_SYSTEM_GATEWAY_DIR=/tmp/codex-openshell-empty-system-config mise run testcargo test -p openshell-server -p openshell-driver-mxc)cargo check -p openshell-server -p openshell-gateway --all-featuresmise run helm:test(106 tests)cargo check -p openshell-gateway --no-default-featurescargo check -p openshell-gateway --features in-tree-compute-driversmise run e2e:gateway:no-compute-driversChecklist